package com.jsz.yun.ai.field.config;

import com.jsz.yun.ai.field.util.ttl.TransferableThreadLocal;
import org.springframework.web.servlet.HandlerInterceptor;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author gaoxing
 * @date 2025-03-25 09:10:49
 */
public class ReqHeaderInterceptor implements HandlerInterceptor {

    @Override
    public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) {
        TransferableThreadLocal.clear();
    }
}
